@layout("/common/work-flow-details.html", {"title" : "流程示例"}){
<form class="e-form">
    <!-- str:表单区域 -->
    <input type="hidden" id="id" name="id" value="${object.id}" />
    <div class="form-group row">
        <label class="col-form-label col-2">
            请假类型：
        </label>
        <div class="col-4">
            <span class="form-control form-control-static sys-dict-static" id="leaveType" data-dict-type="leaveType" data-value="${object.leaveType}">-</span>
        </div>
        <label class="col-form-label col-2">
            时间：
        </label>
        <div class="col-4">
            @var value = "";
            @if(object.startDate != null && object.endDate != null){
                @value = dateUtil.format(object.startDate, "yyyy-MM-dd") + " ~ " + dateUtil.format(object.endDate, "yyyy-MM-dd");
            @}
            <span class="form-control form-control-static">${value}</span>
        </div>
    </div>

    <div class="form-group row">
        <label class="col-form-label col-2">
            原因：
        </label>
        <div class="col-9">
            <span class="form-control form-control-static">${object.reason}</span>
        </div>
    </div>
    <!-- end:表单区域 -->
</form>
<!--begin::页面脚本 -->
<#script src="static/modular/sample/work/flow/info.js" />
<#script src="static/modular/activiti/process/work-flow.js" />
<!--end::页面脚本 -->
@}